package com.Java.train.member.domain.DTO;

import jakarta.validation.constraints.NotBlank;
import lombok.*;

@Data
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class PassengerDTO {

    private Long id;
    private Long memberId;
    @NotBlank(message = "乘车人名称不能为空")
    private String name;
    @NotBlank(message = "身份证不能为空")
    private String idCard;
    @NotBlank(message = "乘车人类型不能为空")
    private String type;
}
